package day1;

public class Book {
    String name;
    String publish;
    String autor;
    String time;
    public void bookinfo(){
        System.out.println("书名："+name);
        System.out.println("出版社："+publish);
        System.out.println("作者："+autor);
        System.out.println("出版日期："+time);
    }
}
